<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});
Route::get('test_mongodb', ['as' => 'test_mongodb', 'uses' => 'IndexController@test_mongodb']);//mongodb 操作测试
Route::get('test_redis', ['as' => 'test_redis', 'uses' => 'IndexController@test_redis']);//redis 操作测试
Route::get('create_user_table', ['as' => 'create_user_table', 'uses' => 'IndexController@create_user_table']);//创建用户表
Route::get('add_user', ['as' => 'add_user', 'uses' => 'IndexController@add_user']);//添加用户



